#!/bin/bash
convert "$1" -negate -alpha Off -colors 2 ppm:- | pamdepth 1 | ppmtobmp > "$1.bmp"
